Skip to content

Fix socket config key in example (:live_view_socket)#169

Merged
crbelaus merged 1 commit intoelixir-error-tracker:mainfrom
arghmeleg:fix-socket-config-doc
Feb 28, 2026
Merged

Fix socket config key in example (:live_view_socket)#169
crbelaus merged 1 commit intoelixir-error-tracker:mainfrom
arghmeleg:fix-socket-config-doc

Conversation

@arghmeleg
Copy link
Contributor

https://github.com/elixir-error-tracker/error-tracker/blob/main/lib/error_tracker/web/components/layouts.ex#L32 uses :live_view_socket, but the example shows :socket as the key.

This pr aligns the example with how it's used in the code. It looks like :socket is not used anywhere in the codebase and does nothing. I was able to get both longpolling and websockets working on custom paths using :live_view_socket.

Copy link
Contributor

@crbelaus crbelaus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot!

@crbelaus crbelaus merged commit 428b650 into elixir-error-tracker:main Feb 28, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants